package com.coderman.infosys.busorder.convert;

import java.util.List;
import com.coderman.infosys.busorder.domain.bo.OpsOrderBO;
import com.coderman.infosys.busorder.dao.dataobject.OpsOrderDO;

import org.mapstruct.Mapper;
import org.mapstruct.Mapping;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;

/**
* @Description:运维工单接口
* @Author:
* @CreateTime:2021-09-30 11:16:45
* @version v1.0
*/
@Mapper
public interface OpsOrderConvert{
	OpsOrderConvert INSTANCE = Mappers.getMapper(OpsOrderConvert.class);

	/**
	 *
	 * @Description:
	 * @return OpsOrderBO
	 */
	 OpsOrderBO do2bo(OpsOrderDO opsOrderDO);
	/**
	 *
	 * @Description:
	 * @return List<OpsOrderBO>
	 */
	 List<OpsOrderBO> doList2boList(List<OpsOrderDO> opsOrderDOList);
	/**
	 *
	 * @Description:
	 * @return OpsOrderDO
	 */
	 OpsOrderDO bo2do(OpsOrderBO opsOrderBO);
	/**
	 *
	 * @Description:
	 * @return List<OpsOrderDO>
	 */
	 List<OpsOrderDO> boList2doList(List<OpsOrderBO> opsOrderBOList);
}